package com.jz.community.moduleexpress.express.ui;

import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.widget.LinearLayout;

import com.jz.community.basecomm.base.BaseMvpFragment;
import com.jz.community.basecomm.mvp.BaseMvpPresenter;
import com.jz.community.moduleexpress.R;
import com.jz.community.moduleexpress.R2;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;

import butterknife.BindView;

/**
 * Created by Tony.Fan on 2018/8/1 17:19
 */
public class ExpressHistoryFragment extends BaseMvpFragment {

    @BindView(R2.id.express_history_list)
    RecyclerView expressHistoryList;
    @BindView(R2.id.express_history_refresh)
    SmartRefreshLayout expressHistoryRefresh;
    @BindView(R2.id.express_history_layout)
    LinearLayout expressHistoryLayout;
    @BindView(R2.id.fragment_order_parent)
    LinearLayout fragmentOrderParent;

    public static ExpressHistoryFragment newInstance(int mType) {
        ExpressHistoryFragment orderFragment = new ExpressHistoryFragment();
        Bundle bundle = new Bundle();
        bundle.putInt("expressType", mType);
        orderFragment.setArguments(bundle);
        return orderFragment;
    }

    @Override
    protected int getContentViewLayoutID() {
        return R.layout.module_express_express_history_item_layout;
    }

    @Override
    protected BaseMvpPresenter createPresenter() {
        return null;
    }
}
